import { _decorator, Button, EditBox, Label, Node, ProgressBar, Toggle } from 'cc';
import { proxy } from '../../core/module/proxy/ProxyDecorator';
import { CLoopScroll } from '../../core/component/CLoopScroll';
import { ProxyBase } from '../../core/module/proxy/ProxyBase';
import { uiparams } from '../../core/module/ui/UIDecorator';
import { LayerEnum } from '../share/Enum';
import { UICoverAction } from '../../core/module/ui/BaseTypes';

const { ccclass, property } = _decorator;
@uiparams(LayerEnum.base, { cover: UICoverAction.SHOW })
@proxy('game', 'prefab/game')
@ccclass('GameProxy')
export class GameProxy extends ProxyBase {
   @property(Button)
   btnBack: Button = null;
   @property(Label)
   roomId: Label = null;
   @property(CLoopScroll)
   users: CLoopScroll = null;

}